import req from '../common/requrest.js'
export const getTaskListNoAuth = (data) => {
	return req.ajax({
		title: "获取任务列表",
		method: "GET",
		path: '/api/task/list',
		data,
	})
} 

export const getTaskListAuth = (data) => {
	return req.ajax({
		title: "获取任务列表",
		method: "GET",
		path: '/api/user/task',
		data,
	})
} 

export const doTask = (data) => {
	return req.ajax({
		title: "上传抖音视频链接",
		method: "POST",
		path: '/api/user/task-do',
		data,
	})
} 

export const getTaskPonit = (data) => {
	return req.ajax({
		title: "领取奖励中",
		method: "GET",
		path: '/api/user/task-point',
		data,
	})
} 


export const getNewsLoop = (data) => {
	return req.ajax({
		title: "",
		method: "GET",
		path: '/api/news/loop',
		data,
	})
} 

